package com.orchard.orchardfarmmanagementsystem.service;


import com.orchard.orchardfarmmanagementsystem.dto.MaintenanceRecordsDTO;
import com.orchard.orchardfarmmanagementsystem.dto.MaterialDTO;
import com.orchard.orchardfarmmanagementsystem.dto.SuppliesDTO;
import com.orchard.orchardfarmmanagementsystem.utils.Result;

import java.util.List;

public interface SuppliesService {

  List<MaterialDTO> getAllMaterials();



  SuppliesDTO createMaterial(SuppliesDTO supplyData);

  SuppliesDTO updateMaterial(Integer id, SuppliesDTO supplyData);

  Result deleteMaterial(Integer id);
}